#!/usr/bin/env python

print
print "Done"

import database
db=database.getConnection()
cursor=db.cursor()

nextscan=database.getNextScan(cursor)
cursor.execute("replace int_settings (name,value) values ('curscan','%s')"%nextscan)


